using OracleInternal.Common;

namespace OracleInternal.NotificationServices
{
	internal class SendElement
	{
		protected internal Notification e;

		protected internal SubscriptionNotification s;

		protected internal SendElement(Notification ev)
		{
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097408, OracleTraceClassName.SendElement, OracleTraceFuncName.ctor);
			}
			e = ev;
			s = null;
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097664, OracleTraceClassName.SendElement, OracleTraceFuncName.ctor);
			}
		}

		protected internal SendElement(SubscriptionNotification se)
		{
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097408, OracleTraceClassName.SendElement, OracleTraceFuncName.ctor);
			}
			e = null;
			s = se;
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097664, OracleTraceClassName.SendElement, OracleTraceFuncName.ctor);
			}
		}
	}
}
